package com.joker.orange.domain.bo;

import com.joker.common.core.domain.BaseEntity;
import com.joker.common.core.validate.AddGroup;
import com.joker.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.math.BigDecimal;

/**
 * 用户统计业务对象 t_agent_user_statistics
 *
 * @author Joker
 * @date 2024-06-09
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class AgentUserStatisticsBo extends BaseEntity {

    /**
     * 唯一标识
     */
    @NotNull(message = "唯一标识不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 代理/平台ID
     */
    @NotNull(message = "代理/平台ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long agentId;

    /**
     * 用户昵称
     */
    @NotBlank(message = "用户昵称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String agentName;

    /**
     * 手机号码
     */
    @NotBlank(message = "手机号码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String phone;

    /**
     * 用户类型（sys_user系统用户、sys_agent代理用户）
     */
    @NotBlank(message = "用户类型（sys_user系统用户、sys_agent代理用户）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String userType;

    /**
     * 代理等级
     */
    @NotBlank(message = "代理等级不能为空", groups = { AddGroup.class, EditGroup.class })
    private String agentLevel;

    /**
     * 上级代理
     */
    @NotBlank(message = "上级代理不能为空", groups = { AddGroup.class, EditGroup.class })
    private String superiorAgent;

    /**
     * 分佣比例
     */
    @NotNull(message = "分佣比例不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal commissionRatio;

    /**
     * 分佣金额
     */
    @NotNull(message = "分佣金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal commissionAmount;

    /**
     * 安卓充值金额
     */
    @NotNull(message = "安卓充值金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal androidRechargeAmount;

    /**
     * iOS充值金额
     */
    @NotNull(message = "iOS充值金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal iosRechargeAmount;

    /**
     * 安卓注册数量
     */
    @NotBlank(message = "安卓注册数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String androidRegistrationCount;

    /**
     * iOS注册数量
     */
    @NotBlank(message = "iOS注册数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String iosRegistrationCount;

    /**
     * 会员数量
     */
    @NotBlank(message = "会员数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String memberCount;

    /**
     * 充值金额
     */
    @NotNull(message = "充值金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal rechargeAmount;

    /**
     * 日活用户数
     */
    @NotBlank(message = "日活用户数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String dailyActiveCount;

    /**
     * 推广用户数
     */
    @NotBlank(message = "推广用户数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String promotionUserCount;

    /**
     * 安卓扣单数量
     */
    @NotBlank(message = "安卓扣单数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String androidOrderDeductionCount;

    /**
     * iOS扣单数量
     */
    @NotBlank(message = "iOS扣单数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String iosOrderDeductionCount;

    /**
     * 安卓扣单金额
     */
    @NotNull(message = "安卓扣单金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal androidOrderDeductionAmount;

    /**
     * iOS扣单金额
     */
    @NotNull(message = "iOS扣单金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal iosOrderDeductionAmount;

    /**
     * 安卓扣注册量
     */
    @NotBlank(message = "安卓扣注册量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String androidRegistrationDeductionCount;

    /**
     * iOS扣注册量
     */
    @NotBlank(message = "iOS扣注册量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String iosRegistrationDeductionCount;

    /**
     * 备注
     */
    private String remark;


}
